package com.greenentity;

import com.alibaba.fastjson.annotation.JSONField;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import java.util.Date;


/**
 * Created by admin on 2018/6/26.
 */
@Entity
public class Logger implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     * logsId : 11
     * logsGuid : 222222
     * addTime : 2018-06-26 10:21:41
     * subsGuids : 49485a6a-9675-401c-ad53-5bc37dcf9ef7
     * logsContent : sdasdsad
     * userId : 1940
     * userName : 蔡培
     * logsNature : 100
     * status : 新增
     * logsNaturevalue : 正常巡视
     */
    @Id
    private Long logsId;
    private String logsGuid;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    private String subsGuids;
    private String logsContent;
    private Long userId;
    private String userName;
    private String logsNature;
    private String status;
    private String logsNaturevalue;

    @Generated(hash = 1279481543)
    public Logger(Long logsId, String logsGuid, Date addTime, String subsGuids,
            String logsContent, Long userId, String userName, String logsNature,
            String status, String logsNaturevalue) {
        this.logsId = logsId;
        this.logsGuid = logsGuid;
        this.addTime = addTime;
        this.subsGuids = subsGuids;
        this.logsContent = logsContent;
        this.userId = userId;
        this.userName = userName;
        this.logsNature = logsNature;
        this.status = status;
        this.logsNaturevalue = logsNaturevalue;
    }

    @Generated(hash = 207956621)
    public Logger() {
    }

    public Long getLogsId() {
        return logsId;
    }

    public void setLogsId(Long logsId) {
        this.logsId = logsId;
    }

    public String getLogsGuid() {
        return logsGuid;
    }

    public void setLogsGuid(String logsGuid) {
        this.logsGuid = logsGuid;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getSubsGuids() {
        return subsGuids;
    }

    public void setSubsGuids(String subsGuids) {
        this.subsGuids = subsGuids;
    }

    public String getLogsContent() {
        return logsContent;
    }

    public void setLogsContent(String logsContent) {
        this.logsContent = logsContent;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLogsNature() {
        return logsNature;
    }

    public void setLogsNature(String logsNature) {
        this.logsNature = logsNature;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLogsNaturevalue() {
        return logsNaturevalue;
    }

    public void setLogsNaturevalue(String logsNaturevalue) {
        this.logsNaturevalue = logsNaturevalue;
    }
}
